package com.xxp.service;

import com.xxp.controller.request.BookRequest;
import com.xxp.entity.Book;

import java.util.List;

public interface BookService {

    Object listByCondition(BookRequest bookRequest);

    void save(Book book);

    void delete(Integer id);

    Book getById(Integer id);

    void update(Book book);
}
